package com.example.myap;

import android.os.Bundle;

import com.example.myap.databinding.ActivityMainBinding;
import com.example.myap.viewModule.ActivityMainViewModule;
import com.sunnybear.framework.library.base.BaseActivity;

import androidx.annotation.Nullable;

public class MainActivity extends BaseActivity<ActivityMainBinding, ActivityMainViewModule> {


    @Override
    protected int getLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    protected ActivityMainViewModule bindingViewModule(ActivityMainBinding viewDataBinding) {
        return new ActivityMainViewModule(this,viewDataBinding);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mViewModule.init();
    }
}